//
//  HomePageTopTableViewCell.m
//  DBAChain
//
//  Created by Evan on 2018/9/5.
//  Copyright © 2018 Evan. All rights reserved.
//

#import "HomePageTopTableViewCell.h"
#import "CommonData.h"

@implementation HomePageTopTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

-(HomePageTopView*)viewTop{
    if (!_viewTop) {
        _viewTop = [[HomePageTopView alloc] init];
        _viewTop.frame = CGRectMake(0, 0, KScreenWidth, self.frame.size.height);
        [self addSubview: _viewTop];
    }
    return _viewTop;
}


@end
